<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<title>支付页面</title>
		<link type="text/css" rel="stylesheet" href="../dt/css/login1.css">
		<script type="text/javascript" src="../dt/js/jquery-1.7.2.js"></script>
	</head>

	<body class="login_bj" style="background-image:url(../../dtimg/about-us/1244512002916dptsf6yop6.jpg)">
		<div class="zhuce_body">
			<div class="logo">
				
			</div>
			<div class="zhuce_kong login_kuang">
				<div class="zc">
					<div class="bj_bai">
						<h3>登录</h3>
						<form action="/dt/full.do" method="get">
							<p>当前用户：</p>
							<input name="money" type="text" id="a1" class="kuang_txt" placeholder="请输入要充值的钱数">
							<div>
							</div>
							<input type="submit" class="btn_zhuce" value="充值" onclick="add()"/>
						</form>
						
					</div>
					<div class="bj_right">
						<p>使用以下账号直接支付</p>
						<a href="#" class="zhuce_qq">QQ支付</a>
						<a href="#" class="zhuce_wb">支付宝支付</a>
						<a href="#" class="zhuce_wx">微信支付</a>
					</div>
				</div>
			</div>
		</div>
	</body>
	<script>
		function add(){
			var x=document.getElementById("a1").value;
//			var x=$("#a1").text();
			alert(x);
			if(x.trim().length == 0 || x==null){
				alert("请输入充值的钱数");
				return;
			}
			if(x < 100 || x>2000){
				alert("请输入100-2000之间的钱数");
				return;
			}
		}
	</script>
</html>